package yunmouren.top.kaoui.tools;

import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import yunmouren.top.kaoui.Client.Client;
import yunmouren.top.kaoui.Client.Tick.ClientTick;
import yunmouren.top.kaoui.Client.Tick.PlayerTick;

public class ClientProxy extends CommonProxy {
    public void preInit(FMLPreInitializationEvent event) {
        super.preInit(event);
    }

    public void init(FMLInitializationEvent event) {
        super.init(event);
    }

    /**
     * 处理客户端事件
     * @param event
     */
    public void postInit(FMLPostInitializationEvent event) {
        super.postInit(event);
        new Client();
        MinecraftForge.EVENT_BUS.register(new ClientTick());
        MinecraftForge.EVENT_BUS.register(new PlayerTick());
    }
}